package com.xiaoxx.model.entity.coin;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author HX
 * @since 2024-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_binance_ticker_price")
@ApiModel(value="BinanceTickerPrice对象", description="")
public class BinanceTickerPrice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "交易对")
    @TableField("symbol")
    private String symbol;

    @ApiModelProperty(value = "拉取时间")
    @TableField("pull_time")
    private LocalDateTime pullTime;

    @ApiModelProperty(value = "价格	价格	价格")
    @TableField("price")
    private String price;

    @ApiModelProperty(value = "价格精度")
    @TableField("price_precision")
    private Integer pricePrecision;

    @ApiModelProperty(value = "数量精度")
    @TableField("quantity_precision")
    private Integer quantityPrecision;

    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUser;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @Version
    private Integer version;


}
